{% extends 'base.html' %}
{% block title %}添加教材{% endblock %}
{% block main %}
    <form method="POST" action="">

        <div class="mb-3">
            <label>教材名称</label>
            <input style="height: 30px" type="text" name="name" class="form-control" placeholder="教材名称">
        </div>
        <div class="mb-3">
            <label>价格</label>
            <input style="height: 30px" type="number" name="price" class="form-control" placeholder="价格">
        </div>
        {% if msg %}
            <p class="success">{{ msg }}</p>
        {% endif %}

        <div class="mb-3 mt-3">
            <button class="btn btn-primary w-100">点击提交</button>
        </div>
    </form>


{% endblock %}